package cn.tedu._03vehicle.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class VehicleListVO {
    private Long id;
    private String brand;
    private String license;
    private String model;
    private String code;
    private String displacement;
    private String type;
    private String color;
    private String batteryType;
    /*
        小大小,大小小;
        年year 月Month 日day 时Hour 分minute 秒second
        pattern参数：指定日期时间格式;
          1.yyyy-MM-dd HH:mm:ss
          2.yyyy/MM/dd HH:mm:ss
          3.yyyy年MM月dd日 HH时mm分ss秒
        timezone参数:指定时区
          1.Asia/Shanghai
          2.GMT+8
     */
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "GMT+8")
    private Date createTime;
}











